package com.dcliment.jukebox.display.views
{
	import flash.display.MovieClip;
	import flash.text.TextField;
	
	public class OverlayView extends MovieClip
	{
		private var _label:TextField;
		
		public function OverlayView()
		{
			_label = this["mLabel"];
			_label.mouseEnabled = false;
			
			if(!_label)
				throw new Error("OverlayView ERROR :: a textfield with the linkage name 'mLabel' cannot be found in movieclip");
		}
		
		public function set label(value:String):void
		{
			_label.text = value;
		}
	}
}